package com.ruoyi.project.park.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 停车记录对象 biz_entry_record
 * 
 * @author ruoyi
 * @date 2024-04-08
 */
public class BizEntryRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String entryRecordId;

    /** 车辆的类型 */
    @Excel(name = "车辆的类型")
    private String carType;

    /** 车辆的车牌号码 */
    @Excel(name = "车辆的车牌号码")
    private String vehicleLicensePlate;

    /** 车辆进出类型 */
    @Excel(name = "车辆进出类型")
    private String entryType;

    /** 车辆进出记录的时间戳 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "车辆进出记录的时间戳", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date entryTime;

    private String creatBy;

    private String parkingId;

    public String getParkingId() {
        return parkingId;
    }

    public void setParkingId(String parkingId) {
        this.parkingId = parkingId;
    }

    public void setEntryRecordId(String entryRecordId)
    {
        this.entryRecordId = entryRecordId;
    }

    public String getEntryRecordId() 
    {
        return entryRecordId;
    }
    public void setCarType(String carType) 
    {
        this.carType = carType;
    }

    public String getCarType() 
    {
        return carType;
    }
    public void setVehicleLicensePlate(String vehicleLicensePlate) 
    {
        this.vehicleLicensePlate = vehicleLicensePlate;
    }

    public String getVehicleLicensePlate() 
    {
        return vehicleLicensePlate;
    }
    public void setEntryType(String entryType) 
    {
        this.entryType = entryType;
    }

    public String getEntryType() 
    {
        return entryType;
    }
    public void setEntryTime(Date entryTime) 
    {
        this.entryTime = entryTime;
    }

    public Date getEntryTime() 
    {
        return entryTime;
    }

    public String getCreatBy() {
        return creatBy;
    }

    public void setCreatBy(String creatBy) {
        this.creatBy = creatBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("entryRecordId", getEntryRecordId())
            .append("carType", getCarType())
            .append("vehicleLicensePlate", getVehicleLicensePlate())
            .append("entryType", getEntryType())
            .append("entryTime", getEntryTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
